import {
  post,
  get,
  put,
  dalete,
  postJosn,
  putone,
  patch,
  daleteJson
} from '../utils/request';

//分页查询商品活动列表
export function queryChooseGoodsList(data) {
  return post('/api/goods-service/v1/goodsActivity/queryChooseGoodsList', data);
  //   return post('http://10.51.4.222:18080/api/goods-service/v1/goodsActivity/queryChooseGoodsList', data);
}

//添加商品活动列表
export function saveGoodsActivityWithGoods(data) {
  return post('/api/goods-service/v1/goodsActivity/saveGoodsActivityWithGoods', data);
  //   return post('http://10.51.4.222:18080/api/goods-service/v1/goodsActivity/saveGoodsActivityWithGoods', data);
}


//分页查询活动参与的门店列表
export function queryGoodsStoreList(data) {
  return post('/api/goods-service/v1/goodsActivity/queryGoodsStoreList', data);
  //   return post('http://10.51.4.222:18080/api/goods-service/v1/goodsActivity/queryGoodsStoreList', data);
}
